package com.taiji.service.impl;

import com.taiji.service.MyString;
import org.apache.dubbo.config.annotation.Service;

/*@Service(timeout = 3000,retries = 2,version = "v1.0")*/
@Service(weight = 1000)
public class MyString1 implements MyString {
    int a=0;
    @Override
    public String queryString() {
        /*try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }*/
        System.out.println("a = " + a);

        return "hello it's me" +
                "20885";
    }
}
